///////////////////////////////////////////////////////////
//  SaveTemplateCommand.h
//  Implementation of the Class SaveTemplateCommand
//  Created on:      21-Sep-2013 12:08:40 PM
//  Original author: Jakkaphan Aiemcharoenjit
///////////////////////////////////////////////////////////

#if !defined(EA_4C7083B2_D09F_4382_A74A_E7F624123A30__INCLUDED_)
#define EA_4C7083B2_D09F_4382_A74A_E7F624123A30__INCLUDED_

#include "ICommand.h"
#include "CCreateTemplateView.h"
#include "CTemplateView.h"
#include "CSaveView.h"

namespace UI
{
  namespace CMD
  {

    class SaveTemplateCommand : public ICommand
    {

    public:
      SaveTemplateCommand(CCreateTemplateView* createTemplate, CTemplateView* _template, CSaveView* saveView);
      virtual ~SaveTemplateCommand();
      virtual void Execute();
      virtual ICommand::CommandType GetType();

    private:
      ICommand::CommandType m_type;
      CCreateTemplateView* m_createTemplateView;
      CTemplateView* m_templateView;
      CSaveView* m_saveView;
    };

  }
}
#endif // !defined(EA_4C7083B2_D09F_4382_A74A_E7F624123A30__INCLUDED_)
